xen/serial: Return actual bytes stored in TX FIFO for OMAP
authorOleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Thu, 5 Nov 2015 17:53:07 +0000 (19:53 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 16 Nov 2015 11:13:50 +0000 (11:13 +0000)
commit618659b38cab90e300085591b2bf398dbfc66b03
treebc55d2d60afec10b8efbbae43ea4616ac9896f49
parent961f129b5d88201c29967b202e0aa38081add1a6
xen/serial: Return actual bytes stored in TX FIFO for OMAP

This is intended to decrease a time spending in transmitter
while waiting for the free space in TX FIFO.
And as result to reduce the impact of hvc on the entire system
running on OMAP5/DRA7XX based platforms.

Signed-off-by: Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Julien Grall <julien.grall@citrix.com>
CC: Stefano Stabellini <stefano.stabellini@citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/char/omap-uart.c